package com.bwhx.eruler.bean;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.sun.jmx.snmp.Timestamp;

/**
 * 这个User是登录系统的User ,量体师
 * @author Cuilitang
 *
 */
@SuppressWarnings("serial")
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class User implements Serializable {

	private int id;
	private String username;
	private String pwd;
	private String mobile;
	private String qq;
	private String email;
	private Long regdatetime;
	private String devicenumber;
	private Integer countLogin;   
	private Long lLTime; //latestLoginTime 
	private List<Ruler> rulers; 
	
	//2016-11-18 16:55:57
	private String devSys;
	
	//2016-12-26 16:47:46
	private String devModel;
	private String sysVersion;
	private String countryCode;
	
	
	
	
	
	
	
	
	public String getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	public String getDevModel() {
		return devModel;
	}
	public void setDevModel(String devModel) {
		this.devModel = devModel;
	}
	public String getSysVersion() {
		return sysVersion;
	}
	public void setSysVersion(String sysVersion) {
		this.sysVersion = sysVersion;
	}
	public String getDevSys() {
		return devSys;
	}
	public void setDevSys(String devSys) {
		this.devSys = devSys;
	}
	public List<Ruler> getRulers() {
		return rulers;
	}
	public void setRulers(List<Ruler> rulers) {
		this.rulers = rulers;
	}
	public Integer getCountLogin() {
		return countLogin;
	}
	public void setCountLogin(Integer countLogin) {
		this.countLogin = countLogin;
	}
	public Long getlLTime() {
		return lLTime;
	}
	public void setlLTime(Long lLTime) {
		this.lLTime = lLTime;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Long getRegdatetime() {
		return regdatetime;
	}
	public void setRegdatetime(Long regdatetime) {
		this.regdatetime = regdatetime;
	}
	public String getDevicenumber() {
		return devicenumber;
	}
	public void setDevicenumber(String devicenumber) {
		this.devicenumber = devicenumber;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", pwd=" + pwd + ", mobile=" + mobile + ", qq=" + qq
				+ ", email=" + email + ", regdatetime=" + regdatetime + ", devicenumber=" + devicenumber + "]";
	}
	
	

}
